package com.kly.order.db.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* User: linqu
* Date: 2024-05-25
* Time: 17:01:09.415
* TableDesc:交易订单表
*/
public class TOrderEntity extends BaseEntity{
    /**
    *订单号
    */
    private String orderNo;
    /**
    *用户号
    */
    private String userCode;
    /**
    *产品号
    */
    private String productCode;
    /**
    *产品类型
    */
    private Integer productType;
    /**
    *应付金额
    */
    private BigDecimal payableAmount;
    /**
    *实付金额
    */
    private BigDecimal paidAmount;
    /**
    *订单类型
    */
    private Integer orderType;
    /**
    *开始时间
    */
    private Date startDate;
    /**
    *结束时间
    */
    private Date endDate;
    /**
    *状态值、1-初始化，2-已支付，3-已完成，4-已关闭
    */
    private Integer status;
    /**
    *会员权益发放状态：0-未发放 1-已发放 2-已到期
    */
    private Integer benefitsStatus;
    /**
    *googlepay订单号
    */
    private String orderId;
    /**
    *googlepay 支付令牌
    */
    private String purchaseToken;
    /**
    *商品类型: 1-消耗类 2-订阅类
    */
    private Integer purchaseType;
    /**
    *
    */
    private String appCode;
    /**
    *订阅开始时间(不参予会员逻辑)
    */
    private String startTime;
    /**
    *订阅失效时间(不参予会员逻辑)
    */
    private String expiryTime;
    /**
    *私聊页面购买时有值
    */
    private String modelUserCode;


    public  String getOrderNo(){
        return this.orderNo;
    }

    public  TOrderEntity setOrderNo(String orderNo){
        this.orderNo = orderNo;
        return this;
    }

    public  String getUserCode(){
        return this.userCode;
    }

    public  TOrderEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getProductCode(){
        return this.productCode;
    }

    public  TOrderEntity setProductCode(String productCode){
        this.productCode = productCode;
        return this;
    }

    public  Integer getProductType(){
        return this.productType;
    }

    public  TOrderEntity setProductType(Integer productType){
        this.productType = productType;
        return this;
    }

    public  BigDecimal getPayableAmount(){
        return this.payableAmount;
    }

    public  TOrderEntity setPayableAmount(BigDecimal payableAmount){
        this.payableAmount = payableAmount;
        return this;
    }

    public  BigDecimal getPaidAmount(){
        return this.paidAmount;
    }

    public  TOrderEntity setPaidAmount(BigDecimal paidAmount){
        this.paidAmount = paidAmount;
        return this;
    }

    public  Integer getOrderType(){
        return this.orderType;
    }

    public  TOrderEntity setOrderType(Integer orderType){
        this.orderType = orderType;
        return this;
    }

    public  Date getStartDate(){
        return this.startDate;
    }

    public  TOrderEntity setStartDate(Date startDate){
        this.startDate = startDate;
        return this;
    }

    public  Date getEndDate(){
        return this.endDate;
    }

    public  TOrderEntity setEndDate(Date endDate){
        this.endDate = endDate;
        return this;
    }

    public  Integer getStatus(){
        return this.status;
    }

    public  TOrderEntity setStatus(Integer status){
        this.status = status;
        return this;
    }

    public  Integer getBenefitsStatus(){
        return this.benefitsStatus;
    }

    public  TOrderEntity setBenefitsStatus(Integer benefitsStatus){
        this.benefitsStatus = benefitsStatus;
        return this;
    }

    public  String getOrderId(){
        return this.orderId;
    }

    public  TOrderEntity setOrderId(String orderId){
        this.orderId = orderId;
        return this;
    }

    public  String getPurchaseToken(){
        return this.purchaseToken;
    }

    public  TOrderEntity setPurchaseToken(String purchaseToken){
        this.purchaseToken = purchaseToken;
        return this;
    }

    public  Integer getPurchaseType(){
        return this.purchaseType;
    }

    public  TOrderEntity setPurchaseType(Integer purchaseType){
        this.purchaseType = purchaseType;
        return this;
    }

    public  String getAppCode(){
        return this.appCode;
    }

    public  TOrderEntity setAppCode(String appCode){
        this.appCode = appCode;
        return this;
    }
    public  String getStartTime(){
        return this.startTime;
    }

    public  TOrderEntity setStartTime(String startTime){
        this.startTime = startTime;
        return this;
    }

    public  String getExpiryTime(){
        return this.expiryTime;
    }

    public  TOrderEntity setExpiryTime(String expiryTime){
        this.expiryTime = expiryTime;
        return this;
    }

    public  String getModelUserCode(){
        return this.modelUserCode;
    }

    public  TOrderEntity setModelUserCode(String modelUserCode){
        this.modelUserCode = modelUserCode;
        return this;
    }
}
